/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: url("../image/RC.png") no-repeat ;
    background-size: 100% 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container {
    width: 100%;
    max-width: 380px; /* 缩小容器最大宽度 */
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 20px; /* 减少内边距 */
    box-sizing: border-box;
    text-align: center;
    position: relative;
    height: 400px;
}

#qr-switch {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px; /* 缩小二维码按钮 */
    cursor: pointer;
    transition: transform 0.3s;
}

#login-options {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.login-link {
    display: inline-block;
    padding: 10px 20px; /* 调整内边距 */
    cursor: pointer;
    border-radius: 20px; /* 修改圆角 */
    text-align: center;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    font-size: 14px; /* 调整字体大小 */
    transition: background-color 0.3s, transform 0.2s;
}

.login-link:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}

.login-form {
    display: none;
}

.login-form.active {
    display: block;
}

.login-form h2 {
    margin: 0 0 20px 0;
    font-size: 22px; /* 调整标题大小 */
    color: #333;
}

.login-form form {
    display: flex;
    flex-direction: column;
}

.login-form label {
    margin-bottom: 6px; /* 缩小标签下边距 */
    font-size: 14px;
    color: #666;
    text-align: left;
}

.login-form input {
    margin-bottom: 10px; /* 缩小输入框下边距 */
    padding: 5px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px; /* 调整字体大小 */
    width: 230px; /* 使用百分比宽度 */
    box-sizing: border-box;
}

button {
    padding: 10px; /* 减少按钮内边距 */
    cursor: pointer;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: #fff;
    font-size: 14px; /* 调整字体大小 */
    transition: background-color 0.3s, transform 0.2s;
    width: 100%; /* 使用百分比宽度 */
}

button:hover {
    background-color: #0056b3;
    transform: scale(1.05);
}
#qr-switch:hover {
    transform: scale(1.1);
}

#sms-login,
#password-login,
#qr-login {
    display: none;
}

#sms-login.active,
#password-login.active,
#qr-login.active {
    display: block;
}

#qr-code {
    width: 150px; /* 根据需要调整二维码图片的大小 */
}
/* 新增样式以支持 Flexbox 布局 */
.login-header {
    display: flex;
    flex-direction: column;
    align-items: center; /* 水平居中对齐 */
    margin-bottom: 20px; /* 适当的底部间距 */
}

.login-links {
    display: flex;
    flex-direction: column;
    gap: 10px; /* 增加链接之间的间距 */
}

.login-linkk {
    text-decoration: none;
    color: grey;
    font-size: 16px;
}

.login-linkk:hover {
    text-decoration: underline;
}
#phone{
    float: left;
}
#botton01{
    float: right;
}
.login-linkk{
    padding-top: 20px;
    font-weight: 700;

}
.a01{
    font-size: 10px;
    color: #ff7777;
}
.a02{
    font-size: 10px;
    color: #989b9e;
}